]> dgit.raspbian.org Git - gnome-shell.git/commit
dateMenu: Fix possible crash with unknown locations
authorBastien Nocera <hadess@hadess.net>
Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)
committerBastien Nocera <hadess@hadess.net>
Wed, 6 Dec 2017 01:02:48 +0000 (02:02 +0100)
commit29987ae033645cbfc3d8cb2a68e2170af6ec0e10
tree493d9e4c6d33282472e4d6ec80347bf9e8939da0
parenta29ceb31dda85c8ae025b7222f6d75bf7b2ff478
dateMenu: Fix possible crash with unknown locations

If there are locations unknown to the libgweather version gnome-shell is
using, don't crash.

JS ERROR: TypeError: b.location is null
WorldClocksSection<._clocksChanged/<@resource:///org/gnome/shell/ui/dateMenu.js:141:1
WorldClocksSection<._clocksChanged@resource:///org/gnome/shell/ui/dateMenu.js:139:9

https://bugzilla.gnome.org/show_bug.cgi?id=791148
js/ui/dateMenu.js